package com.ruoyi.system.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 方剂信息内容对象 sys_app_prescription_info
 * 
 * @author ruoyi
 * @date 2020-09-05
 */
public class SysAppPrescriptionInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 方剂分类的id */
    @Excel(name = "方剂分类的id")
    private Long sortId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 方剂内容 */
    @Excel(name = "方剂内容")
    private String content;

    /** 方剂作者 */
    @Excel(name = "方剂作者")
    private String author;

    /** 排序字段 */
    @Excel(name = "排序字段")
    private Integer ord;

    /** 状态（0、不启用，1、启用） */
    @Excel(name = "状态", readConverterExp = "0=、不启用，1、启用")
    private Integer status;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;
    
    private String remark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSortId(Long sortId) 
    {
        this.sortId = sortId;
    }

    public Long getSortId() 
    {
        return sortId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setOrd(Integer ord) 
    {
        this.ord = ord;
    }

    public Integer getOrd() 
    {
        return ord;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sortId", getSortId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("author", getAuthor())
            .append("ord", getOrd())
            .append("status", getStatus())
            .append("createDate", getCreateDate())
            .append("remark", getRemark())
            .toString();
    }
}
